import Vue from "vue";
import home from "../view/home"
import news from "../view/news"
import order from "../view/order";
import VueRouter from "vue-router";
Vue.use(VueRouter);
const router = new VueRouter({
    routes: [{
            path: "/home",
            component: home
        },
        {
            path: "/news",
            component: news
        },
        {
            path: "/order",
            component: order
        },
        {
            path: "/car",
            component: () => import("../view/car.vue")
        }

    ]
});
export default router